package com.yida.gwj.expend.mapper;

import com.yida.gwj.expend.domain.GwjMaintenanceFundsBusinessCommunity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 业务小区信息Mapper接口
 *
 * @author lgp
 * @date 2023-02-20
 */
@Mapper
public interface GwjMaintenanceFundsBusinessCommunityMapper {
    /**
     * 查询业务小区信息
     *
     * @param businessCommunityId 业务小区信息主键
     * @return 业务小区信息
     */
    public GwjMaintenanceFundsBusinessCommunity selectGwjMaintenanceFundsBusinessCommunityByBusinessCommunityId(Long businessCommunityId);

    /**
     * 查询业务小区信息列表
     *
     * @param gwjMaintenanceFundsBusinessCommunity 业务小区信息
     * @return 业务小区信息集合
     */
    public List<GwjMaintenanceFundsBusinessCommunity> selectGwjMaintenanceFundsBusinessCommunityList(GwjMaintenanceFundsBusinessCommunity gwjMaintenanceFundsBusinessCommunity);

    /**
     * 新增业务小区信息
     *
     * @param gwjMaintenanceFundsBusinessCommunity 业务小区信息
     * @return 结果
     */
    public int insertGwjMaintenanceFundsBusinessCommunity(GwjMaintenanceFundsBusinessCommunity gwjMaintenanceFundsBusinessCommunity);

    /**
     * 修改业务小区信息
     *
     * @param gwjMaintenanceFundsBusinessCommunity 业务小区信息
     * @return 结果
     */
    public int updateGwjMaintenanceFundsBusinessCommunity(GwjMaintenanceFundsBusinessCommunity gwjMaintenanceFundsBusinessCommunity);

    /**
     * 删除业务小区信息
     *
     * @param businessCommunityId 业务小区信息主键
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessCommunityByBusinessCommunityId(Long businessCommunityId);

    /**
     * 删除业务小区信息-通过业务ID
     *
     * @param bizId 业务小区信息主键
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessCommunityByBusinessId(Long bizId);

    /**
     * 查询业务小区信息-通过业务ID
     *
     * @param bizId 业务小区信息主键
     * @return 业务小区信息
     */
    public GwjMaintenanceFundsBusinessCommunity selectGwjMaintenanceFundsBusinessCommunityByBusinessId(Long bizId);

}
